'''
Created on Dec 6, 2009

@author: tliu
'''
from google.appengine.ext.webapp.util import run_wsgi_app
from login import LoginPage
from register import RegisterPage
from home import HomePage
from google.appengine.ext import webapp
from prof import ProfilePage
from logout import LogoutPage
from post_entry import PostEntryPage
from fill import FillPage
from validate_link import ValidateLinkPage
from edit_profile import EditProfilePage
from network import NetworkPage
from new_tag import NewTagPage
from add_tags import AddTagsPage
from create_profile import CreateProfilePage
from err import ErrorPage
from remove_tag import RemoveTagPage

application = webapp.WSGIApplication([('/', LoginPage), 
                                      ('/home', HomePage),
                                      ('/register',RegisterPage),
                                      ('/profile', ProfilePage),
                                      ('/logout', LogoutPage),
                                      ('/fill', FillPage),
                                      ('/validate_link', ValidateLinkPage),
                                      ('/edit_profile', EditProfilePage),
                                      ('/create_profile', CreateProfilePage),
                                      ('/post_entry', PostEntryPage),
                                      ('/network', NetworkPage),
                                      ('/new_tag', NewTagPage),
                                      ('/add_tags', AddTagsPage),
                                      ('/remove_tag', RemoveTagPage),
                                      ('/error', ErrorPage)
                                      ], debug=True)


def main():
    run_wsgi_app(application)

if __name__ == "__main__":
    main()